package com.zkk.dao;

import com.zkk.pojo.User;

import java.util.List;

public interface UserDao {
    User login(User user);

    List<User> findAll();


    int deleteById(int id);                //通过id删除值

    int insertUser(int id,String username,String password);  //添加数据


    User findById(int id);


    int modifyUser(int id,String username,String password);


}
